package io.mya.bian.service.Impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import io.mya.bian.dao.BianDao;
import io.mya.bian.entity.CurrencyEntity;
import io.mya.bian.service.BianService;
/**
 * 查询数据所有币service实现类 包括增改查 
 * @author renxin
 * @date 2018年5月15日
 * 2533558906@qq.com
 */
@Service("bianService")
public class BianServiceImpl implements BianService {
	@Autowired
	private BianDao bianDao;
	
	
	@Override
	public List<CurrencyEntity> queryList() {
		// TODO Auto-generated method stub
		return bianDao.queryList();
	}


	@Override
	public void update(CurrencyEntity currencyEntity) {
		// TODO Auto-generated method stub
		bianDao.update(currencyEntity);
	}


	@Override
	public void insert(CurrencyEntity currencyEntity) {
		// TODO Auto-generated method stub
		bianDao.insert(currencyEntity);
	}



	

}
